/* ------------------------------------------------------------------------------------
 * railbrowser.css -
 *
 * Author: Bastian Schröder <bs@chemanet.de>
 * Version: 2008-04-17
 *
 * ------------------------------------------------------------------------------------ */

* {
 	margin: 0;
 	padding: 0;
}
body {
 	font-family: Helvetica,Arial,sans-serif;
	font-size: 75%;
}

a {
	color: black;
	text-decoration: none;
}
a:hover {
	color: #366dba;
	text-decoration: underline;
}

/* dialogs */
body form.dialog label {
	display: block;
	margin-bottom: 6px;
}
body form.dialog label span.ftext {
	display: block;
	float: left;
	width: 185px;
	padding-top: 3px;
}

/* dojo iconClass */
.icon_cut { background-image:  url(img/edit-cut.png); }
.icon_copy { background-image:  url(img/edit-copy.png); }
.icon_paste { background-image:  url(img/edit-paste.png); }
.icon_delete { background-image:  url(img/user-trash.png); }
.icon_addAttribute { background-image:  url(img/add_attribute.png); }
.icon_addAObject { background-image:  url(img/add_object.png); }


/* -------------------------------------- header -------------------------------------- */
div#header {
	height: 26px;
	background: url(img/bg_header.png) repeat-x;
}

/* menu-button */
div#header a#menu {
	float: left;
	diplay: block;
	width: 19px;
	height: 19px;
	margin: 4px 0 3px 5px;
	background: url(icon.png) no-repeat;
}
div#header a#menu span.htext {
	display: none;
}

/* form */
div#header form label {
	padding-left: 10px;
	color: white;
}


/* --------------------------------------- left -------------------------------------- */
div#left {
	float: left;
	width: 225px;
	background: #f0f0f0;
	border-right: 1px solid #444444;
}

/* ** info */
div#left table#info {

	width: 100%;
	height: 119px;
	margin: 10px 0 5px 0;
	margin-left: 4px;
	line-height: 1.4em;
	white-space: nowrap;
}
div#left table#info td {
	vertical-align: top;
	overflow: hidden;
}
div#left table#info td img {
	margin-right: 4px;
}
div#left table#info td#obj_icon {
	width: 35px;
	height: 35px;
	background: url(img/object_empty.png) no-repeat;
}
div#left table#info td#obj_icon span {
	display: none;
}
/* icons */
div#left table#info td#obj_icon.not_readable { background-image: url(img/object_closed.png); }
div#left table#info td#obj_icon.RAIL_CONTAINER { background-image: url(img/container_empty.png); }
div#left table#info td#obj_icon.RAIL_SEQUENCE { background-image: url(img/container_full.png); }
div#left table#info td#obj_icon.RAIL_CONTAINER.not_readable,
div#left table#info td#obj_icon.RAIL_SEQUENCE.not_readable { background-image: url(img/container_closed.png); }
div#left table#info td#obj_icon.RAIL_USER { background-image: url(img/user.png); }
div#left table#info td#obj_icon.RAIL_ROOT { background-image: url(img/root.png); }
div#left table#info td#obj_icon.RAIL_DOCUMENT { background-image: url(img/object_full.png); }


/* left */
div#left div#accordion {
	clear: both;
	height: 338px;
}

/* ** attributes */
div#left div#accordion #attributes_form {
	padding: 5px 4px;
}
div#left div#accordion #attributes_form label {
	display: block;
	margin: 5px 0;
}
div#left div#accordion #attributes_form label span.attribute {
	display: block;
	width: 99%;
	overflow: hidden;
}
div#left div#accordion #attributes_form label span.attribute.protected {
	color: red;
}

/* ** relations */
div#left div#relations_pane {
	padding: 5px 4px;
}
div#left div#relations_pane div.relation {
	overflow: hidden;
	width: 99%;
	margin-bottom: 10px;
}
div#left div#relations_pane div.relation h3 {
	margin: 0;
	font-size: 1em;
}
div#left div#relations_pane div.relation ul {
	margin-left: 20px;
}

/* ** rights */
div#left div#accordion #rights_form {
	padding: 2px;
	margin-top: 10px;
	padding-left: 4px;
}
div#left div#accordion #rights_form label {
	display: block;
	margin-bottom: -10px;
}

div#left div#accordion #rights_form button {
	margin: 35px 0 5px 0;
}


/* ------------------------------------ inventory ------------------------------------ */
div#inventory {
	overflow: auto;
	height: 453px;
	padding: 10px;
}

/* object */
div#inventory .rail_object {
	overflow: hidden;
	height: 35px;
	margin: 5px 4px;
	padding: 7px 0 0 42px;
	color: black;
	/*background: #fafafa url(img/object_empty.png) no-repeat 2px 2px;
	border: 1px solid #9b9b9b;*/
	background: url(img/object_empty.png) no-repeat 2px 2px;
	border: 1px solid transparent;
}
div#inventory .rail_object:hover {
	cursor: pointer;
	color: #366dba;
	border: 1px solid #366dba;
}

/* icons */
div#inventory .rail_object.up { background-image: url(img/up.png); }
div#inventory .rail_object.not_readable { background-image: url(img/object_closed.png); }
div#inventory .rail_object.RAIL_CONTAINER { background-image: url(img/container_empty.png); }
div#inventory .rail_object.RAIL_SEQUENCE { background-image: url(img/container_full.png); }
div#inventory .rail_object.RAIL_CONTAINER.not_readable,
div#inventory .rail_object.RAIL_SEQUENCE.not_readable { background-image: url(img/container_closed.png); }
div#inventory .rail_object.RAIL_USER { background-image: url(img/user.png); }
div#inventory .rail_object.RAIL_DOCUMENT { background-image: url(img/object_full.png); }